Method and apparatus for preventing a collision between subjects

ABSTRACT

An apparatus for executing a computer game is provided. The apparatus includes an output unit configured to transmit a first image generated based on a form of a first user participating in the computer game and a second image generated based on a form of a second user participating in the computer game to a display apparatus, and a control unit configured to predict a possibility of a collision between the first user and the second user, and to control transmitting warning information indicating the possibility of the collision to the display apparatus via the output unit, according to a result of the predicting.

CROSS-REFERENCE TO RELATED APPLICATION(S)

This application is a continuation application of prior application Ser.No. 14/659,948, filed on Mar. 17, 2015, which claimed the benefit under35 U.S.C. § 119(a) of a Korean patent application filed on Mar. 21, 2014in the Korean Intellectual Property Office and assigned Serial No.10-2014-0033695, of a Korean patent application filed on Nov. 28, 2014in the Korean Intellectual Property Office and assigned Serial No.10-2014-0169178, and of a Korean patent application filed on Feb. 6,2015 in the Korean Intellectual Property Office and assigned Serial No.10-2015-0018872, the entire disclosure of each of which is herebyincorporated by reference.

TECHNICAL FIELD

The present disclosure relates to a method and apparatus for preventinga collision between subjects.

BACKGROUND

A computer game, executed based on a gesture by a user participating inthe computer game, has been developed. For example, a computer game, inwhich it is determined whether a mission is complete according to amotion of a user, has been developed.

However, while a computer game is being executed, a user may collidewith another user who is in a place near the user or a thing that isdisposed near the user, according to a motion of the user.

Accordingly, there is a demand for development of a method or anapparatus for preventing a collision of a user participating in acomputer game with another user or a thing.

The above information is presented as background information only toassist with an understanding of the present disclosure. No determinationhas been made, and no assertion is made, as to whether any of the abovemight be applicable as prior art with regard to the present disclosure.

SUMMARY

Aspects of the present disclosure are to address at least theabove-mentioned problems and/or disadvantages and to provide at leastthe advantages described below. Accordingly, an aspect of the presentdisclosure is to provide a method and apparatus for preventing acollision between subjects.

Another aspect of the present disclosure is to provide a non-transitorycomputer-readable recording storage medium having stored thereon acomputer program, which, when executed by a computer, performs themethod.

Additional aspects will be set forth in part in the description whichfollows and, in part, will be apparent from the description, or may belearned by practice of the presented various embodiments.

In accordance with an aspect of the present disclosure, an apparatus forexecuting a computer game is provided. The apparatus includes an outputunit configured to transmit a first image generated based on a form of afirst user participating in the computer game and a second imagegenerated based on a form of a second user participating in the computergame to a display apparatus, and a control unit configured to predict apossibility of a collision between the first user and the second user,and to control transmitting warning information indicating thepossibility of the collision to the display apparatus via the outputunit, according to a result of the predicting.

The control unit may determine a first area, which includes a farthestpoint reachable by a part of the first user as the first user moves in acertain area, and determine a second area, which includes a farthestpoint reachable by a part of the second user as the second user moves ina certain area.

The control unit may determine that there is a possibility of acollision between the first user and the second user if the first areaand the second area overlap with each other.

The control unit may predict a moving path of the first user and amoving path of the second user, and determine the first area and thesecond area by further considering the predicted moving paths.

The moving paths may be predicted based on details of the computer game.

The first image and the second image may each include an image generatedby an external camera.

The warning information may include an image output from the externaldisplay apparatus or sound output from the external display apparatus.

The control unit may pause the execution of the computer game if it isdetermined that there is a possibility of a collision between the firstuser and the second user.

In accordance with another aspect of the present disclosure, a method ofexecuting a computer game is provided. The method includes generating afirst image based on a form of a first user participating in thecomputer game, generating a second image based on a form of a seconduser participating in the computer game, transmitting the first imageand the second image to a display apparatus, predicting a possibility ofa collision between the first user and the second user, and transmittingwarning information indicating the possibility of the collision to thedisplay apparatus based on a result of the predicting.

The method may further include determining a first area, which includesa farthest point reachable by a part of the first user as the first usermoves in a certain area, and determining a second area, which includes afarthest point reachable by a part of the second user as the second usermoves in a certain area.

The generating of the warning information may include generating of thewarning information if the first area and the second area overlap witheach other.

The method may further include predicting a moving path of the firstuser, wherein the determining of the first area includes determining thefirst area by further taking into account the predicted moving path.

The moving path may be predicted based on details of the computer game.

The first image and the second image each may include an image generatedby an external camera.

The warning information may include an image output from the externaldisplay apparatus or sound output from the external display apparatus.

The method may further include pausing the execution of the computergame if it is determined that there is a possibility of a collisionbetween the first user and the second user.

In accordance with an aspect of the present disclosure, an apparatus forexecuting a computer game is provided. The apparatus includes an outputunit configured to transmit a first image generated based on a form of auser participating in the computer game and a second image generatedbased on a form of at least one subject located near the user to adisplay apparatus, and a control unit configured to predict apossibility of a collision between the first user and the subject, andto control transmitting of warning information indicating thepossibility of the collision to the display apparatus via the outputunit according to a result of the predicting.

In accordance with an aspect of the present disclosure, an apparatus forexecuting a computer game is provided. The apparatus includes an outputunit configured to transmit a first image generated based on a form of auser participating in the computer game and a second image generatedbased on a form of at least one subject located near the user to adisplay apparatus, and a control unit configured to set a danger zonebased on external input information, and, when the control unitdetermines that the user enters the danger zone, to control transmittingwarning information, indicating a possibility of the entering by theuser, to the display apparatus via the output unit.

In accordance with an aspect of the present disclosure, an apparatus forexecuting a computer game is provided. The apparatus includes an inputunit configured to receive an input of an image signal and a controlunit configured to control setting of a first area corresponding to afirst object and a second area corresponding to a second object whereinthe first object and the second object are included in the image signal,to measure a distance between the first area and the second area, and tooutput a predetermined message if a value of the measured distance isless than a predetermined value.

The first area may include a farthest point reachable by a part of afirst subject as the first subject moves in a certain location, whereinthe first subject corresponds to the first object, and the second areamay include a farthest point reachable by a part of a second subject asthe second subject moves in a certain location, wherein the secondsubject corresponds to the second object.

The control unit may predict a moving path of the first subject and amoving path of the second subject, and determine the first area and thesecond area by further considering the predicted moving paths.

The moving paths may be predicted based on details of the computer game.

The control unit may pause the execution of the computer game if themeasured distance has a value less than the predetermined value.

Other aspects, advantages, and salient features of the disclosure willbecome apparent to those skilled in the art from the following detaileddescription, which, taken in conjunction with the annexed drawings,discloses various embodiments of the present disclosure.

BRIEF DESCRIPTION OF THE DRAWINGS

The above and other aspects, features, and advantages of certainembodiments of the present disclosure will be more apparent from thefollowing description taken in conjunction with the accompanyingdrawings, in which:

FIGS. 1A and 1B illustrate conceptual diagrams showing an example of amethod of preventing a collision between a plurality of subjectsaccording to an embodiment of the present disclosure;

FIG. 1C illustrates a configuration map illustrating an example in whichan apparatus for executing content and an apparatus for outputting animage and sound are present independently from each other according toan embodiment of the present disclosure;

FIG. 1D illustrates a diagram for explaining an example of executingcontent, the executing being performed by a server, according to anembodiment of the present disclosure;

FIG. 2 illustrates a flowchart showing an example of a method ofpreventing a collision between a plurality of subjects according to anembodiment of the present disclosure

FIG. 3 illustrates a diagram for explaining an example of obtaining forminformation of a subject, the obtaining being performed by a device,according to an embodiment of the present disclosure;

FIGS. 4A and 4B illustrate diagrams for explaining an example ofobtaining form information of a user, the obtaining being performed by adevice, according to an embodiment of the present disclosure;

FIG. 5 illustrates a diagram showing an example of outputting forminformation of a user on a screen of a device, according to anembodiment of the present disclosure;

FIGS. 6A and 6B illustrate diagrams for explaining an example of addingan object, the adding being performed by a device, according anembodiment of the present disclosure;

FIGS. 7A and 7B illustrate diagrams for explaining an example ofdeleting an object, the deleting being performed by a device, accordingto an embodiment of the present disclosure;

FIG. 8 illustrates a diagram showing an example of outputting a range ofmotion of a subject to the screen of a device, according to anembodiment of the present disclosure;

FIGS. 9A, 9B and 9C illustrate diagrams for explaining an example ofdetermining a range of motion of a subject based on setting informationinput by a user, the determining being performed by a device, accordingto an embodiment of the present disclosure;

FIGS. 10A and 10B illustrate diagrams for explaining an example ofdetermining a range of motion of a subject, the determining beingperformed by a device, according to an embodiment of the presentdisclosure;

FIG. 11 illustrates a diagram for explaining an example of obtainingform information of a plurality of subjects, the obtaining beingperformed by a device, according to an embodiment of the presentdisclosure;

FIG. 12 illustrates a diagram showing an example of outputting forminformation and a range of motion of each of a plurality of users to ascreen of a device, according to an embodiment of the presentdisclosure;

FIG. 13A illustrates a diagram showing an example of outputting aplurality of objects on the screen of a device, according to anembodiment of the present disclosure;

FIG. 13B illustrates a diagram showing an example in which a device doesnot execute content according to an embodiment of the presentdisclosure;

FIGS. 14A and 14B illustrate diagrams for explaining an example ofobtaining form information of a plurality of subjects and determining arange of motion of the plurality of subjects, the obtaining and thedetermining being performed by a device, according to an embodiment ofthe present disclosure;

FIGS. 15A and 15B illustrate diagrams for explaining an example ofobtaining form information of a plurality of subjects and determining arange of motion of the plurality of subjects, the obtaining and thedetermining being performed by a device, according to an embodiment ofthe present disclosure;

FIGS. 16A and 16B illustrate diagrams for explaining an example ofobtaining form information of a plurality of subjects and determining arange of motion of the plurality of subjects, the obtaining and thedetermining being performed by the device according to an embodiment ofthe present disclosure;

FIG. 17 illustrates a flowchart illustrating an example of obtainingform information of a subject and determining a range of motion of thesubject, the obtaining and the determining being performed by a deviceaccording to an embodiment of the present disclosure;

FIG. 18 illustrates a diagram for explaining an example of determining arange of motion of a subject based on form information and a moving pathof the subject, the determining being performed by a device according toan embodiment of the present disclosure;

FIG. 19 illustrates a flowchart for explaining an example of predictingwhether a first subject and a second subject are to collide with eachother, the predicting being performed by a device according to anembodiment of the present disclosure;

FIGS. 20A, 20B, and 20C illustrate diagrams for explaining an example ofcomparing a shortest distance between subjects to a predetermineddistance value, the comparing being performed by a device according toan embodiment of the present disclosure;

FIGS. 21A, 21B, and 21C illustrate diagrams showing an example of animage output to a screen of a device, if the device determines thatsubjects are to collide with each other according to an embodiment ofthe present disclosure;

FIG. 21D illustrates a diagram showing an example of resuming executionof content after execution of the content is paused, the resuming beingperformed by a device according to an embodiment of the presentdisclosure;

FIG. 22 illustrates a diagram for explaining an example of comparing ashortest distance between subjects to a predetermined distance value,the comparing being performed by a device according to an embodiment ofthe present disclosure;

FIGS. 23A, 23B, and 23C illustrate diagrams showing an example of animage output to a screen of a device, if the device determines thatusers are to collide with each other according to an embodiment of thepresent disclosure;

FIG. 24 illustrates a diagram for explaining an example of setting asafety area or a danger zone, the setting being performed by a deviceaccording to an embodiment of the present disclosure;

FIG. 25 illustrates a diagram for explaining an example of outputtingwarning information if a subject goes out of a safety area or a subjectenters a danger zone, the outputting being performed by a deviceaccording to an embodiment of the present disclosure;

FIG. 26 illustrates a diagram for explaining an example of designating adangerous thing, the designating being performed by a device accordingto an embodiment of the present disclosure;

FIG. 27 illustrates a diagram for explaining an example of outputtingwarning information if a subject goes close to a dangerous thing, theoutputting being performed by a device according to an embodiment of thepresent disclosure;

FIG. 28 illustrates a diagram for explaining an example of transmittingwarning information to another device, the transmitting being performedby a device according to an embodiment of the present disclosure;

FIG. 29 illustrates a block diagram of an example of a device accordingto an embodiment of the present disclosure;

FIG. 30 illustrates a block diagram of an example of a device accordingto an embodiment of the present disclosure; and

FIG. 31 illustrates a block diagram of an example of a system forexecuting content according to an embodiment of the present disclosure.

Throughout the drawings, it should be noted that like reference numbersare used to depict the same or similar elements, features, andstructures.

DETAILED DESCRIPTION

The following description with reference to the accompanying drawings isprovided to assist in a comprehensive understanding of variousembodiments of the present disclosure as defined by the claims and theirequivalents. It includes various specific details to assist in thatunderstanding but these are to be regarded as merely exemplary.Accordingly, those of ordinary skill in the art will recognize thatvarious changes and modifications of the various embodiments describedherein can be made without departing from the scope and spirit of thepresent disclosure. In addition, descriptions of well-known functionsand constructions may be omitted for clarity and conciseness.

The terms and words used in the following description and claims are notlimited to the bibliographical meanings, but, are merely used by theinventor to enable a clear and consistent understanding of the presentdisclosure. Accordingly, it should be apparent to those skilled in theart that the following description of various embodiments of the presentdisclosure is provided for illustration purpose only and not for thepurpose of limiting the present disclosure as defined by the appendedclaims and their equivalents.

It is to be understood that the singular forms “a,” “an,” and “the”include plural referents unless the context clearly dictates otherwise.Thus, for example, reference to “a component surface” includes referenceto one or more of such surfaces.

Terms used herein will be briefly described, and the inventive conceptwill be described in greater detail below.

General and widely-used terms have been employed herein, inconsideration of functions provided in the inventive concept, and mayvary according to an intention of one of ordinary skill in the art, aprecedent, or emergence of new technologies. Additionally, in somecases, an applicant may arbitrarily select specific terms. Then, theapplicant will provide the meaning of the terms in the description ofthe inventive concept. Accordingly, it will be understood that theterms, used herein, should be interpreted as having a meaning that isconsistent with their meaning in the context of the relevant art andwill not be interpreted in an idealized or overly formal sense unlessexpressly so defined herein.

It will be further understood that the terms “comprises”, “comprising”,“includes”, and/or “including”, when used herein, specify the presenceof components, but do not preclude the presence or addition of one ormore other components, unless otherwise specified. Additionally, termsused herein, such as ‘unit’ or ‘module’, mean entities for processing atleast one function or operation. These entities may be implemented byhardware, software, or a combination of hardware and software.

A “device” used herein refers to an element that is included in acertain apparatus and accomplish a certain objective. In greater detail,a certain apparatus that includes a screen which may perform displayingand an interface for receiving information input by a user, receives auser input, and thus, accomplishes a certain objective may be includedin an embodiment of the inventive concept without limitation.

The inventive concept will now be described more fully with reference tothe accompanying drawings, in which various embodiments of the inventiveconcept are shown. The inventive concept may, however, be embodied inmany different forms and should not be construed as being limited to theembodiments set forth herein. In the description of the inventiveconcept, certain detailed explanations of the related art are omittedwhen it is deemed that they may unnecessarily obscure the essence of theinventive concept. Like numbers refer to like elements throughout thedescription of the figures.

FIGS. 1A and 1B illustrate conceptual diagrams showing an example of amethod of preventing a collision between a plurality of subjectsaccording to an embodiment of the present disclosure.

Referring to FIGS. 1A and 1B, persons or things 120 and 121 that arelocated in front of a device 100, and objects 110 and 111 are shown,wherein the objects 110 and 111 are obtained when the persons or things120 and 121 are photographed by using a camera included in the device100 and output to a screen of the device 100. Hereinafter, the objects110 and 111 respectively refer to images 110 and 111 that show thepersons or things 120 and 121 output to the screen of the device 100.Additionally, hereinafter, a subject 120 or 121 refers to a person or athing 120 or 121. In other words, the camera photographs the subjects120 or 121, and the objects 110 or 111 which are images of the subject120 or 121 are output to the screen of the device 100. For convenienceof description, in FIGS. 1A and 1B, it is described that the objects 110and 111 are images of users of content executed by the device 100, butthe objects 110 and 111 are not limited thereto.

A subject may be a user who participates in the content, or a person ora thing that does not participate in the content. The object 110 may bean image obtained by photographing a person who uses the content, or animage obtained by photographing a person who does not use the content.Additionally, the object 110 may be an image obtained by photographing athing owned by a person or a thing placed in a space where a person islocated. Here, the thing may correspond to an animal, a plant, orfurniture disposed in a space. The content refers to a program that maybe controlled to recognize a motion of a user. For example, the contentmay be a computer game executed when the user takes a certain motion,such as a dancing game, a sport game, etc., or a program that outputs amotion of the user to a screen of the device 100.

If it is assumed that a computer game is executed, both the objects 110and 111 may be images of users participating in the computer game.Alternatively, one of the objects 110 and 111 may be an image of a userparticipating in the computer game, and the other may be an image of aperson that does not participate in the computer game or may be an imageof a thing. As an example, if it is assumed that a dancing game is beingexecuted, the objects 110 and 111 may be respective images of users whoenjoy the dancing game together. As another example, one of the object110 and the object 111 may be an image of a user who enjoys the dancinggame, and the other may be an image of a person who is near the user andwatches the dancing game played by the user. As another example, one ofthe objects 110 and 111 may be an image of a user, and the other may bean image of a person or an animal passing by the user or an image of athing placed near the user. For example, while a dancing game is beingexecuted, some of a plurality of persons may be set as personsparticipating in the dancing game (that is, users), and the others maybe set as persons not participating in the dancing game (that is,non-users).

Hereinafter, an image of a person or an animal is referred to as adynamic object, and an image of a thing or a plant that is unable toautonomously move or travel is referred to as a static object.

As an example, displayed objects may include an image of a first userand an image of a second user who are participating in the computergame. As another example, objects may include an image of a userparticipating in the computer game and an image of a person notparticipating in the computer game. As another example, objects mayinclude an image of a user participating in the computer game, and animage of an animal placed near the user. As another example, objects mayinclude an image of a user participating in the computer game, and animage of a thing placed near the user, for example, furniture.

An example in which the objects 110 and 111 include an image of thefirst user and an image of the second user who participate in thecomputer game is described later with reference to FIG. 11. An examplein which the objects 110 and 111 include an image of a userparticipating in the computer game and an image of a person notparticipating in the computer game is described later with reference toFIG. 14. Additionally, an example in which the objects 110 and 111respectively include an image of a user participating in the computergame and an image of an animal placed near the user is described laterwith reference to FIG. 15. An example in which the objects 110 and 111respectively include an image of a user participating in the computergame and an image of a thing placed near the user is described laterwith reference to FIG. 16.

Additionally, the object may be a virtual character set by a user. Forexample, the user may generate a virtual character which does notactually exist as an object, by setting the content.

Referring to FIG. 1A, the users 120 and 121 use the content when theyare separated from each other by a predetermined distance or more. Forexample, if it is assumed that the content is a dancing game, since theusers 120 and 121 are separate from each other so that they do notcollide with each other, the users 120 and 121 may safely take a certainmotion.

Referring to FIG. 1B, since the users 120 and 121 are close to eachother (i.e., within a predetermined distance), if at least one of theusers 120 and 121 takes a certain motion, the at least one of the otherusers 120 and 121 may collide with the user.

A collision described herein refers to a physical contact between theusers 120 and 121. Alternatively, a collision refers to a contact of theuser 120 with another person, an animal, a plant, or furniture which islocated near the user 120. In other words, a collision refers to acontact of a part of the user 120 with a part of a thing 121. As anexample, if a part of a user such as his/her head, arm, trunk, or legcontacts a part of another user, it is understood that the two userscollide with other. As another example, if a part of a user, such ashis/her head, arm, trunk, or leg contacts the table, it is understoodthat the user and the table collide with each other.

If subjects collide with each other, a person or an animal correspondingto one of the subjects may get injured or a thing corresponding to thesubjects may be broken or break down. Accordingly, the device 100 maypredict a possibility of a collision between the subjects. If it isdetermined that the possibility of a collision between the subjects ishigh, the device 100 may output certain warning information. The warninginformation may be light, a color, or a certain image output from thescreen of the device 100, or sound output from a speaker included in thedevice 100. Additionally, if the device 100 is executing the content,the device 100 may stop or pause execution of content as an example ofthe warning information.

According to the warning information output by the device 100, a personor an animal corresponding to objects may stop a motion, and thus, acollision between the objects may be prevented.

In FIGS. 1A and 1B, it is shown that the device 100 executes thecontent, for example, a computer game, and outputs an image and/or asound, but the executing of the content and the outputting of the imageand sound are not limited thereto. Additionally, a camera may be anapparatus separate from the device 100, or may be included in the device100. Additionally, an apparatus for executing content and an apparatusfor outputting an image and sound may be present separately from eachother.

FIG. 1C illustrates a configuration map illustrating an example in whichan apparatus for executing content and an apparatus for outputting animage and sound are present independently from each other according toan embodiment of the present disclosure.

Referring to FIG. 1C, a system 1 includes an apparatus 101 for executingcontent, a display apparatus 102, and a camera 103. If it is assumedthat the content is a computer game, the apparatus 101 for executingcontent refers to a game console.

The camera 103 captures an image of a user participating in the computergame or at least one object placed near the user, and transmits thecaptured image to the apparatus 101 for executing the content. Thecaptured image refers to an image that shows a form of the user or theat least one object.

The apparatus 101 for executing the content transmits the image,transmitted from the camera 103, to the display apparatus 102.Additionally, if it is determined that there is a possibility of acollision between subjects, the apparatus 101 for executing the contentgenerates warning information indicating that there is the possibilityof the collision. Additionally, the apparatus 101 for executing thecontent transmits the warning information to the display apparatus 102.As an example, objects 112 may include an image of the first user 120and an image of the second user 121. As another example, the objects 112may include an image of the user 120 participating in the computer gameand the person 121 not participating in the computer game. As anotherexample, the objects 112 may include an image of the user 120participating in the computer game and an image of the animal 121 placednear the user 120. As another example, the objects 112 may include theuser 120 participating in the computer game and the thing 121 placednear the user 120, for example, furniture.

The display apparatus 102 outputs the image or the warning informationtransmitted from the apparatus 101 for executing the content. Thewarning information may be light, a color, a certain image output fromthe screen of the display apparatus 102, or sound output from a speakerincluded in the display apparatus 102, etc.

As described above with reference to FIGS. 1A through 1C, content isexecuted by the device 100 or the apparatus 101 for executing content.However, the execution of content is not limited thereto. In otherwords, content may be executed by a server, and the device 100 or thedisplay apparatus 102 may output an execution screen of the content.

FIG. 1D illustrates a diagram for explaining an example of executingcontent, the executing being performed by a server, according to anembodiment of the present disclosure.

Referring to FIG. 1D, the server 130 may be connected to a device 104via a network. A user 122 requests the server 130 to execute content.For example, the user 122 may log on to the server 130 via the device104 and select content stored in the server 130 so as to execute thecontent.

When the content is executed, the server 130 transmits an image to beoutput to the device 104. For example, if the content is a computergame, the server 130 may transmit an initial setting screen or anexecution screen of the computer game to the device 104.

The device 104 or a camera 105 transmits an image captured by the camera105 to the server 103. The image captured by the camera 105 (that is,the image that includes objects 113 and 114) is output to a screen ofthe device 104. The device 104 may combine and output the executionscreen of the content with the image captured by the camera 105. Forexample, if the content is a dancing game, the device 104 may output animage showing a motion required for the user 122 together with an imageobtained by photographing the user 122.

A subject 123 shown in FIG. 1D may be a person, an animal, a plant, or athing, for example, furniture. In other words, the subject 123 may beanother user who enjoys the content with the user 122 together or aperson who is near the user 122. Alternatively, the subject 123 may bean animal, a plant, or a thing which is placed near the user 122.

While the content is being executed, if it is predicted that thesubjects 122 and 123 are to collide with each other, the server 130 orthe device 104 may generate a warning signal.

As an example, a possibility of a collision between the subjects 122 and123 may be predicted by the server. If the subjects 122 and 123 arepredicted to collide with each other, the server 130 may notify thedevice 104 that there is a possibility of a collision between thesubjects 122 and 123, and the device 104 may output a warning signal.

As another example, a possibility of a collision between the subjects122 and 123 may be predicted by the device 104. In other words, theserver 130 may perform only execution of content, and the predicting ofa possibility of a collision between the subjects 123 and 123 and theoutputting of the warning signal may be performed by the device 104.

Hereinafter, with reference to FIGS. 2 through 27, an example ofpreventing a collision between subjects, which is performed by a device(e.g., device 100, device 104, etc.), is described.

FIG. 2 illustrates a flowchart showing an example of a method ofpreventing a collision between a plurality of subjects according to anembodiment of the present disclosure.

Referring to FIG. 2, the method of preventing a collision between theplurality of subjects includes operations, which are processed in timeseries by the device 100 as shown in FIG. 29 or the apparatus 101 forexecuting content as shown in FIG. 31. Accordingly, it will beunderstood that descriptions to be provided with regard to the device100 shown in FIG. 29 or the apparatus 101 for executing content shown inFIG. 31 may also be applied to the method described with reference toFIG. 2, even if the descriptions are not provided again.

In operation 210, the device 100 obtains a first object representing aform of a first subject and a second object representing a form of asecond subject. A form described herein is an outer shape of a subject,and includes a length and a volume of the subject as well as the shapeof the subject. As an example, if it is assumed that an object is animage of a person, the object includes all information indicating anouter shape of the person such as a whole shape from a head to feet, aheight, a length of legs, a thickness of a trunk, a thickness of arms, athickness of legs of the person, and the like. As another example, if itis assumed that an object is an image of a chair, the object includesall information indicating an outer shape of the chair such as a shape,a height, a thickness of legs of the chair, and the like.

As an example, if it is assumed the device 100 executes the content, thefirst object refers to an image of a user who uses the content, and thesecond object refers to an image of another user who uses the content,or an image of a subject who does not use the content. If the secondobject is an image of a subject that does not use content, the secondobject refers to either a dynamic object or a static object. An image ofa person or an animal is referred to as a dynamic object, and an imageof a thing or a plant that may not autonomously move or travel isreferred to as a static object. The content described herein refers to aprogram which requires a motion of a user. For example, a game executedbased on a motion of the user may correspond to the content.

As another example, if it is assumed that content is not executed, thefirst object and the second object respectively refer to either adynamic object or a static object. A meaning of the static object andthe dynamic object is described above. For example, if it is assumedthat the device 100 is installed at a location near a crosswalk, animage of a passenger walking across the crosswalk or a vehicle drivingon a driveway may correspond to a dynamic object, and an image of anobstacle located near the sidewalk may correspond to a static object.

Hereinafter, it is described that the first object and the second objectare respectively an image obtained by photographing a single subject(that is, a person, an animal, a plant, or a thing), but the firstobject and the second object are not limited thereto. In other words,the first object or the second object may be an image obtained byphotographing a plurality of objects all together.

The device 100 may obtain a first image and a second image through animage captured by a camera. The device 100 may obtain not onlyinformation about an actual form of a subject (that is, a person, ananimal, a plant, or a thing) corresponding to an object (hereinafter,referred to as form information), but also information about a distancebetween the subject and the camera and information about a distancebetween a plurality of subjects, based on the first image and the secondimage. Additionally, the device 100 may obtain information about colorsof the subject and a background, according to a type of the camera.

For example, the camera may be a depth camera. The depth camera refersto a camera for generating an image that includes not only a form of atarget to be photographed, but also three-dimensional (3D) informationabout a space (in other words, information about a distance between thetarget to be photographed and the camera or information about a distancebetween targets to be photographed). As an example, the depth camera mayrefer to a stereoscopic camera for generating an image that includes 3Dinformation of a space by using images captured by two cameras that arepresent in locations that are different from each other. As anotherexample, the depth camera may refer to a camera for generating an imagethat includes 3D information of a space by using a pattern of lightwhich is emitted toward the space and reflected back to the camera bythings within the space. As another example, the depth camera may be acamera for generating an image that includes 3D information of a spacebased on an amount of electric charges corresponding to light which isemitted toward the space including an object and reflected back to thecamera by things that are present within the space. However, the camerais not limited thereto, and may correspond to any camera that maycapture an image that includes information about a form of an object anda space without limitation.

Additionally, the device 100 may obtain form information of a subjectcorresponding to a subject, based on data stored in a storage unit(e.g., storage unit 2940 shown in FIG. 29). In other words, forminformation of a subject which may be obtained in advance and may bestored in a storage unit. In that case, the device 100 may read the forminformation stored in the storage unit.

Descriptions to be provided with reference to FIGS. 3 through 16 may beperformed before content is executed. For example, if it is assumed thatthe content is a computer game, the descriptions provided hereinafterwith reference to FIGS. 3 through 16 may correspond to operations thatare to be performed before the computer game is started.

Hereinafter, with reference to FIG. 3, an example of obtaining forminformation, which is performed by a device (e.g., device 100), isdescribed.

FIG. 3 illustrates a diagram for explaining an example of obtaining forminformation, the obtaining being performed by a device, according to anembodiment of the present disclosure.

Referring to FIG. 3, a user 310, the device 100, and a camera 320 areillustrated. Hereinafter, for convenience of description, it isdescribed that the device 100 includes a screen for displaying an image,and the camera 320 and the device 100 are devices separate from eachother. However, the camera 320 and the device 100 are not limitedthereto. In other words, the camera 320 may be included in the device100. Additionally, it is described that the camera 320 is a camera forgenerating an image by using light which is emitted toward a spaceincluding an object and reflected back to the camera by both the objectand things within the space. However, as described with reference toFIG. 2, the camera 320 is not limited thereto.

If a screen of the device 100 and a touch pad form a layered structureto constitute a touchscreen, the screen may be also used as an inputunit as well as an output unit. The screen may include at least one of aliquid crystal display (LCD), a thin-film transistor-liquid crystaldisplay (TFT-LCD), an organic light-emitting diode (OLED), a flexibledisplay, a 3D display, and an electrophoretic display. According to animplementation type of the screen, the device 100 may include two ormore screens. The two or more screens may be disposed to face each otherby using a hinge.

The camera 320 emits light toward a space that includes the user 310,and obtains light reflected by the user 310. Then, the camera 320generates data regarding a form of the user 310 by using the obtainedlight.

The camera 320 transmits the data regarding the form of the user 310 tothe device 100, and the device 100 obtains form information of the user310 by using the transmitted data. Then, the device 100 outputs anobject that includes the form information of the user 310 to the screenof the device 100. Thus, the form information of the user 310 may beoutput to the screen of the device 100. Additionally, the device 100 mayalso obtain information about a distance between the camera 320 and theuser 310 by using the data transmitted from the camera 320.

Hereinafter, with reference to FIG. 4, an example of obtaining the forminformation of the user 310 by using the data transmitted from thecamera 320, which is performed by the device 100, is described.

FIGS. 4A and 4B illustrate diagrams for explaining an example ofobtaining form information of a user, the obtaining being performed by adevice, according to an embodiment of the present disclosure.

Referring to FIGS. 4A and 4B, an example of data that is extracted fromdata transmitted from the camera 320 and an example of a form 410 of auser which is estimated by using the extracted data are respectivelyillustrated. In an embodiment, the estimating is performed by the device100.

The device 100 extracts a predetermined range of area from the datatransmitted from the camera 320. The predetermined range of area refersto an area in which a user is present. In other words, the camera 320emits light toward a space, and then, if the emitted light is reflectedfrom things (including a user) which are present in the space andreflected back to the camera 320, the camera 320 calculates a depthvalue corresponding to each pixel, by using the light that is reflectedback to the camera 320. The calculated depth value may be expressed as adegree of brightness of a point corresponding to a pixel. In otherwords, if light emitted by the camera 320 is reflected from a locationnear the camera 320 and reflected back to the camera 320, a dark spotcorresponding to the location may be displayed. If light emitted by thecamera 320 is reflected from a location far away the camera 320 andreturns to the camera 320, a bright spot corresponding to the locationmay be displayed. Accordingly, the device 100 may determine a form of athing (including the user) located in the space toward which the lightis emitted and a distance between the thing and the camera 320, by usingdata transmitted from the camera 320 (for example, a point correspondingto each pixel).

The device 100 may extract data corresponding to an area, in which theuser is present, from the data transmitted from the camera 320, andobtain information about a form of the user by removing noise from theextracted data. Additionally, the device 100 may estimate a skeletonrepresenting the form of the user, by comparing the data obtained byremoving the noise from the extracted data to various poses of a personwhich are stored in the storage unit 2940. Additionally, the device 100may estimate the form 410 of the user by using the estimated skeletonand obtain form information of the user by using the estimated form 410of the user.

Hereinafter, an example of outputting form information of a userobtained by the device 100 is described with reference to FIG. 5.

FIG. 5 illustrates a diagram showing an example of outputting forminformation of a user on a screen of a device according to an embodimentof the present disclosure.

Referring to FIG. 5, the form information of a user may be output to ascreen 510 of the device 100. For example, a height 520, an arm length530, and a leg length 540 of the user may be output to the screen 510.Additionally, information about a gender 550 of the user may be outputto the screen 510. The gender 550 of the user may be determined by thedevice 100 by analyzing data transmitted from the camera 320 or may beinput directly by the user.

Additionally, an object 560 corresponding to the user may be output tothe screen 510. The object 560 may be a form corresponding to dataobtained by the camera 320 or may be a virtual form generated by forminformation of the user. For example, the object 560 may be a formphotographed by the camera 320, or may be a virtual form generated bycombining the height 520, the arm length 530, the leg length 540, andthe gender 550. Additionally, a form of the object 560 may be determinedbased on information directly input by the user. For example, the object560 may be a game character generated so that form information of theuser is reflected in the object 560.

An icon 570 for asking the user whether or not the form information ofthe user may be stored may be displayed on the screen 510. If at leastone of the height 520, the arm length 530, the leg length 540, thegender 550, and the object 560 should not be stored (e.g., needs to bemodified), the user selects an icon indicating “No”. Then, the device100 may obtain the form information of the user again, and the camera320 may be re-operated. If the user selects an icon indicating “Yes”,the form information of the user is stored in the storage unit 2940included in the device 100.

As described above with reference to FIGS. 3 through 5, the device 100may identify a user by using data transmitted from the camera, andobtain form information of the identified user. The device 100 may alsoadd another person or thing or delete a subject captured by the camera320, based on information input by the user. In other words, the usermay add a virtual subject or a subject that is not included in the datatransmitted by the camera 320. Additionally, the user may delete anobject that is photographed by the camera 320 and displayed on thescreen of the device 100. Hereinafter, an example of additionallydisplaying an object on a screen or deleting a displayed object, whichis performed by the device 100, is described with reference to FIGS. 6Athrough 7B.

FIGS. 6A and 6B illustrate diagrams for explaining an example of addingan object, the adding being performed by a device, according to anembodiment of the present disclosure.

Referring to FIG. 6A, an object 610 representing a user is shown on ascreen of the device 100. It is assumed that the object 610, shown inFIG. 6A, is an image of a user of content.

Data transmitted by the camera 320 may not include all information aboutin a photographing space. In other words, the camera 320 may notgenerate data that includes information about all persons, animals,plants, and things located in the photographing space, according to aneffect such as performance or a surrounding environment of the camera320. The user may arbitrarily set a virtual object (that is, an imagerepresenting a virtual subject), and the device 100 may obtain forminformation about the set virtual object.

As an example, even though a dog is actually present in a location neara user, data generated by the camera 320 may not include informationabout a form of the dog. Then, the user may input a form 620 of the dogvia an input unit (e.g., input unit 2910) included in the device 100,and the device 100 may output an object representing the dog based onthe input form 620 of the dog. In this case, the device 100 may estimateform information of the dog (for example, a size or a length of legs ofthe dog), by using a ratio between an object 620 representing the dogand the object 610 representing the user.

As another example, even though a chair is not actually present in alocation near the user, the user may input a form 630 of the chair viathe input unit 2910 included in the device 100. Additionally, the device100 may output an object representing the chair to the screen based onthe input form 630 of the chair. The device 100 may estimate forminformation of the chair (for example, a shape or a size of the chair),by using a ratio between the object 630 representing the chair and theobject 610 representing the user. Alternatively, the device may output asimple object, such as a box, representing the chair as illustrated inFIG. 6A.

Referring to FIG. 6B, the object 610 representing the user and objects621 and 631 which are added by the user are output to the screen of thedevice 100. The device 100 may output the objects 621 and 631, addedbased on information input by the user, to the screen.

FIGS. 7A and 7B illustrate diagrams for explaining an example ofdeleting an object, the deleting being performed by a device, accordingto an embodiment of the present disclosure.

Referring to FIG. 7A, objects 710, 720, and 730 are shown on a screen ofthe device 100. It is assumed that the object 710, shown in FIG. 7A, isan object representing a user of content.

From among objects output to the screen, an object that is not necessaryfor the user to use content may be present. For example, if it isassumed that the content is a dancing game, from among the objectsoutput to the screen, an object representing a subject having a lowpossibility of a collision with the user when the user is taking amotion may be present. Then, the user may delete the object representingthe subject having a low possibility of a collision with the user.

For example, even though a table and a chair are present near the user,since a distance between the chair and the user is long, a possibilityof a collision between the user and the chair may be very low even whenthe user takes a certain motion. In this case, the user may delete theobject 730 representing the chair, via the input unit 2910.

FIG. 7B shows the object 710 representing the user and the object 720which is not deleted by the user. The device 100 may not output theobject 730, which is deleted based on information input by the user, tothe screen.

Referring back to FIG. 2, in operation 220, the device 100 determines afirst area, which includes points reachable by at least a part of thefirst subject, by using form information of the first subject.Additionally, in operation 230, the device 100 determines a second area,which includes points reachable by at least a part of the secondsubject, by using form information of the second subject.

For example, if it is assumed that an object is an image of a person, apart of a subject refers to a part of a body of a user such as a head, atrunk, an arm, or a leg of the user. Hereinafter, for convenience ofdescription, an area, which includes the points reachable by at least apart of a subject, is defined as a ‘range of motion’. For example, anarea including all points that a person may reach by stretching his/herarms or legs may be referred to as a ‘range of motion’.

As an example, a range of motion of a subject may be an area whichincludes points that a part of a user may reach while the user remainsstill in a designated area. As another example, a range of motion of asubject may be an area which includes points that a part of a user mayreach while the user is moving along a certain path. As another example,a range of motion of a subject may be an area which includes points thata part of a user may reach as the user moves in a designated location.

An example in which a combination of points, which a part of a user mayreach while the user remains still in a designated area, constitutes arange of motion of a subject is described later with reference to FIGS.8 through 9B and FIGS. 11 through 16B.

Additionally, an example in which a combination of points, which a partof a user may reach as the user moves in a certain location, constitutesa range of motion of a subject is described later with reference toFIGS. 10A and 10B. Additionally, an example in which a combination ofpoints, which a part of a user may reach while the user is moving alonga certain path, constitutes a range of motion of the subject isdescribed later with reference to FIGS. 17 and 18.

FIG. 8 illustrates a diagram showing an example of outputting a range ofmotion of a subject to a screen of a device according to an embodimentof the present disclosure

Referring to FIG. 8, the device 100 determines a range of motion of asubject by using form information of the subject. The device 100determines points reachable by a part of a user when the user remainsstill in a place, in consideration of values of lengths included in forminformation of the subject (for example, if the subject is assumed asthe person, a height, an arm length, a leg length of a person, or thelike), and determines a range of motion of the user by combining thedetermined points with each other.

As an example, the device 100 may determine a range of motion of asubject based on a mapping table stored in a storage unit (e.g., storageunit 2940). The mapping table refers to a table that shows a ratiobetween a range of motion and a size of the subject according to a typeof the subject represented by the object (for example, if the subject isa person, a height, an arm length, or a leg length of the subject). Forexample, the mapping table may include information indicating that theradius of a range of motion of the person is equal to three-quarters ofthe length of an arm of the person or four-fifths of the length of a legof the person. Additionally, the mapping table may include informationabout motions that may be taken by a user according to a type ofcontent. For example, motions that may be taken by the user in a soccergame may be different from motions that may be taken by the user in adancing game. Accordingly, a range of motion that may be determined whenthe user participates in the soccer game may be different from a rangeof motion that may be determined when the user participates in thedancing game. The mapping table may include information about motionsthat may be taken by the user according to a type of content, and storea size of a range of motion in which body sizes of the user arereflected, with respect to each motion. Accordingly, the device 100 maydetermine a range of motion variously according to a type of thecontent.

As another example, the device 100 may determine a range of motion basedon a sum of values of lengths of parts of a subject. If it is assumedthat an object is an image of a person, the device 100 may determine alength, corresponding to twice a length of an arm of the person, as adiameter of a range of motion.

The device 100 may output the range of motion determined by the device100 to the screen 810. The range of motion output to the screen 810 maycorrespond to a diameter of a circle if the range of motion constitutesthe circle, or a length of a side constituting a rectangle if the rangeof motion constitutes the rectangle. In other words, a user maydetermine the range of motion based on information 820 that is output tothe screen 810. If an object 830 representing the user is output to thescreen 810, the range of motion may be displayed as an image 840 nearthe object.

For example, the device 100 calculates a ratio between a range of motionand a length of the object 830. For example, if it is assumed that aheight of a person corresponding to the object 830 is 175.2 cm and arange of motion of the person is 1.71 m, the device 100 calculates aratio of the range of motion to the height of the person as171/175.2=0.976. Additionally, the device 100 calculates a length of animage 840 that is to be displayed near the object 830, by using thecalculated ratio and a value of a length of the object 830 which isdisplayed on the screen 810. For example, if it is assumed that thelength of the object 830 displayed on the screen 810 is 5 cm, the device100 calculates the length of the image 840 that is to be displayed nearthe object 830 as 0.976*5 cm=4.88 cm. The image 840 corresponding to thelength calculated by the device 100 is displayed on the screen 810. Forexample, the shape of the image 840 may be circular with a diameterhaving a value of the length calculated by the device 100.

As described with reference to FIG. 8, the device 100 determines a rangeof motion of a subject (for example, a user) based on form informationof the subject. The device 100 may determine a range of motion of thesubject based on setting information input by the user. In this case,the form information obtained by the device 100 may not be taken intoaccount in the determining of the range of motion of the subject.

FIGS. 9A through 9C illustrate diagrams for explaining an example ofdetermining a range of motion of a subject based on setting informationinput by a user, the determining being performed by a device, accordingto an embodiment of the present disclosure.

Referring to FIG. 9A, an object 920 is output to a screen 910 of thedevice 100. A user may transmit setting information for setting a rangeof motion to the device 100 via an input unit (e.g., an input unit2910).

For example, the user may set a certain area 930 according to the object920, which is output to the screen 910, via the input unit (e.g., aninput unit 2910). The area 930 set by the user may be shown in the shapeof a circle, a polygon, or a straight line with the object 920 at thecenter thereof. The device 100 may output the area 930 set by the userto the screen 910.

Referring to FIG. 9B, the device 100 may determine a range of motion ofthe subject based on the area 930 set by the user. For example, if it isassumed that the area 930 set by the user is circular, the device 100may determine an area having a shape of a circular cylinder as a rangeof motion, wherein the circular cylinder has a bottom side having ashape of a circle set by the user and a length corresponding to a valueobtained by multiplying a height of the user by a certain rate. The rateby which the height of the user is multiplied may be stored in a storageunit (e.g., a storage unit 2940) included in the device 100.

The device 100 may output the range of motion determined by the deviceto the screen 910. If the range of motion has a shape of a circle, adiameter of the circle may be output to the screen 910 as the range ofmotion. If the range of motion has a shape of a rectangle, a length of aside of the rectangle may be output to the screen 910 as the range ofmotion. In other words, information 940 through which the user mayrecognize a size of the range of motion may be output to the screen 910.If the object 920 is output to the screen 910, the range of motion maybe displayed as an image 950 to include the object 920.

Referring to FIG. 9C, the device 100 may determine a range of motion ofa user 960 so that a gesture of the user 960 is reflected in the rangeof motion. For example, when an object 971 representing the user 960 isoutput, the device 100 may request the user 960 to perform a certaingesture using a direction or instructions 980 displayed on a screen ofthe device 100.

The device 100 may output a first gesture 972 that is to be performed bythe user 960 and output in real time an appearance 973 of the user 960that is photographed by the camera 320 to the screen. Accordingly, theuser 960 may check in real time whether the current shape of the user960 is identical to the first gesture 972.

When the first gesture 972_of the user 960 is photographed, the device100 calculates a range of motion of the user 960 in consideration ofboth form information of the user 960 (for example, a height, a lengthof an arm, a length of a leg of the user 960, or the like) and thegesture 973 of the user 960 together. For example, if it is assumed thata length of one leg of the user 960 is 1.5 m and a width of a chest ofthe user 960 is 0.72 m, the device 100 may calculate a range of motionof the user 960 corresponding to the first gesture 972 as 3.72 m,wherein the gesture 972 is performed when the user 960 spreads his/herarms widely.

The device 100 may output to the screen a value 991 of the calculatedrange of motion to the screen, and output the range of motion of theuser 960 to include the object 971 as an image 974.

Here, a plurality of gestures that are to be performed by the user 960may be selected according to details of content. For example, if thecontent is a dancing game, the device 100 may calculate a range ofmotion in advance with respect to each of the plurality of gestures thatare to be performed while the user 960 enjoys the dancing game.

In other words, if a first range of motion 991 of the user 960 accordingto the first gesture 972 is determined, the device 100 outputs a secondgesture 975 to the screen, and outputs in real time an appearance 977 ofthe user 960 which is photographed by the camera 320. Then, the device100 calculates a range 992 of motion of the user 930 according to thesecond gesture 975. Then, the device 100 may output the range 992 ofmotion of the user 930 near the object as an image 976.

FIGS. 10A and 10B illustrate diagrams for explaining an example ofdetermining a range of motion of a subject, the determining beingperformed by a device, according to an embodiment of the presentdisclosure.

Referring to FIG. 10A, an example is shown in which a left side of arange of motion 1020 is symmetrical to a right side of the range ofmotion 1020 with respect to a center of an object 1010. If it is assumedthat the subject is a person, a range in which the person stretcheshis/her arm or leg while standing in a certain location may be a rangeof motion of the person. Accordingly, the device 100 may determine acircular cylinder, having a center at a trunk of the person, as therange 1020 of the motion.

Referring to FIG. 10B, an example is shown in which a left side of arange of motion 1040 is not symmetrical to a right side of the range ofmotion 1040 with respect to the center of an object 1030. If it isassumed that the subject is a person, movement of the person may not besymmetrical. For example, as shown in FIG. 10B, if the person moves oneleg forward while the other leg remains in an original location, theleft side of the person's body may not be symmetrical to the right sideof the person's body with respect to the center of the person's body.

Accordingly, the device 100 may determine a range of motion of thesubject based on a combination of the farthest points reachable by partsof the subject as the subject moves in a certain area.

As described with reference to FIGS. 8 through 10B, the device 100 mayobtain form information of a subject and determine a range of motion ofthe subject by using the form information. Additionally, the device 100may determine a range of motion of a subject based on a setting by auser. The device 100 may obtain form information of each of a pluralityof subjects, and determine a range of motion with respect to each of theplurality of subjects.

Hereinafter, with reference to FIGS. 11 through 16B, examples ofdetermining a range of motion with respect to each of a plurality ofsubjects, which is performed by a device, are described.

FIG. 11 illustrates a diagram for explaining an example of obtainingform information of a plurality of subjects, the obtaining beingperformed by a device, according to an embodiment of the presentdisclosure.

Referring to FIG. 11, an example of a plurality of users 1110 and 1120is illustrated. For convenience of description, a total of two users1110 and 1120 are shown in FIG. 11, but the plurality of users 1110 and1120 are not limited thereto.

The device 110 obtains form information of each of the plurality ofusers 1110 and 1120. An example of obtaining form information of each ofthe plurality of users 1110 and 1120, which is performed by the device100, is described with reference to FIGS. 3 through 4B. For example, thedevice 100 may obtain form information of each of the plurality of users1110 and 1120 by using data corresponding to an image captured by thecamera 320. The camera 320 may capture an image so that the imageincludes all of the plurality of users 1110 and 1120. The camera 320 mayalso capture a first image that includes a first user 1110, and then,capture a second image that includes a second user 1120.

FIG. 12 illustrates a diagram showing an example of outputting forminformation and a range of motion of each of a plurality of users to ascreen of a device 100 according to an embodiment of the presentdisclosure.

Referring to FIG. 12, form information and a range of motion 1230 of asecond user as well as form information and a range of motion 1220 of afirst user may be output to the screen 1210. An example of determining arange of motion of a first user and a range of motion of a second user,which is performed by the device 100, is described with reference toFIGS. 8 through 10. In FIG. 12, it is assumed that a total of two usersare present. However, as described above, the number of users is notlimited. Accordingly, form information and a range of motion output tothe screen 1210 may be increased or decreased in correspondence with anumber of users.

Additionally, FIG. 12 shows that the form information and the range ofmotion 1220 of the first user and the form information and the range ofmotion 1230 of the second user are output at the same time, but theoutputting is not limited thereto. For example, the form information andthe range of motion 1220 of the first user and the form information andthe range of motion 1230 of the second user may be alternately outputaccording to an elapse of time.

FIG. 13A illustrates a diagram showing an example of outputting aplurality of objects on a screen of a device according to an embodimentof the present disclosure.

Referring to FIG. 13A, the device 100 may output a plurality of objects1320 and 1330 to a screen 1310. Accordingly, a point at which subjectsrespectively corresponding to each of the objects 1320 and 1330 arelocated currently may be checked in real time.

The device 100 may display ranges of motion 1340 and 1350 of each of thesubjects together with the objects 1320 and 1330. Accordingly, it may bechecked in real time whether or not ranges of motion of the subjectsoverlap with each other, based on a current location of the subjects.

If the ranges of motion 1340 and 1350 of the subjects overlap with eachother, the device 100 may not execute content. For example, if thecontent is a computer game, the device 100 may not execute the computergame. Hereinafter, this is described in more detail with reference toFIG. 13B.

FIG. 13B illustrates a diagram showing an example in which a device doesnot execute content according to an embodiment of the presentdisclosure.

Referring to FIG. 13B, it is described that the objects 1320 and 1330are images of users participating in a computer game. If the range ofmotion 1340 of a first user 1320 overlaps with the range of motion 1350of a second user 1330, the device 100 may not execute the computer game.

For example, the device 100 may display an image 1360 or output a soundindicating that the range of motion 1340 overlaps with the range ofmotion 1350 on the screen 1310, and then, may not execute the computergame. As the first user 1320 or the second user 1330 moves, if the rangeof motion 1340 and the range of motion 1350 do not overlap with eachother, the device 100 may execute the computer game thereafter.

Hereinafter, with reference to FIGS. 14A through 16B, examples ofdetermining a range of motion of a user of content and a range of motionof a person, an animal, or a thing that does not use the content aredescribed.

FIGS. 14A and 14B illustrate diagrams for explaining an example ofobtaining form information of a plurality of subjects and determining arange of motion of the plurality of subjects, the obtaining and thedetermining being performed by a device, according to an embodiment ofthe present disclosure.

Referring to FIGS. 14A and 14B, the plurality of subjects 1410 and 1420,shown in FIG. 14A, respectively represent a user 1410 who uses thecontent and a non-user 1420 who does not use the content. The non-user1420 may be present in an area near the user 1410. For example, if it isassumed that the content is a computer game, the user 1410 refers to aperson who participates in the computer game, and the non-user 1420refers to a person who does not participate in the computer game.

The device 100 obtains form information of the user 1410 and forminformation of the non-user 1420, and determines each range of motion ofthe user 1410 and the non-user 1420. As described above, the device 100may obtain each form information of the user 1410 and the non-user 1420via data transmitted from the camera 320.

FIG. 14B shows each form of the user 1410 and the non-user 1420 outputto a screen 1430 of the device 100. The device 100 may display therespective ranges of motion 1440 and 1450 of the user 1410 and thenon-user 1420 together with an object representing the user 1410 and anobject representing the non-user 1420. Accordingly, it may be checked inreal time whether ranges of motion of the user 1410 and the non-user1420 overlap with each other, based on a current location of the user1410 and the non-user 1420.

FIGS. 15A and 15B illustrate diagrams for explaining another example ofobtaining form information of a plurality of subjects and determining arange of motion of the plurality of subjects, the obtaining and thedetermining being performed by a device, according to an embodiment ofthe present disclosure.

Referring to FIGS. 15A and 15B, a plurality of objects 1510 and 1520respectively represent a user 1510 of content and an animal 1520.

The device 100 obtains respective form information of the user 1510 andthe animal 1520, and calculates a range of motion. As described above,the device 100 may obtain respective form information of the user 1510and the animal 1520 by using the camera 320.

FIG. 15B shows each form of the user 1510 and the animal 1520 output toa screen 1530 of the device 100. The device 100 may display respectiveranges of motion 1540 and 1550 of the user 1510 and the animal 1520together with an object representing the user 1510 and an objectrepresenting the animal 1520.

FIGS. 16A and 16B illustrate diagrams for explaining an example ofobtaining form information of a plurality of subjects and determining arange of motion of the plurality of subjects, the obtaining and thedetermining being performed by device, according to an embodiment of thepresent disclosure.

Referring to FIGS. 16A and 16B, the plurality of subjects 1610, 1620 and1630 respectively refer to a user 1610 of content and things 1620 and1630. In FIG. 16A, the things 1620 and 1630 are illustrated as anobstacle which is present in an area near the user 1610, such asfurniture.

The device 100 obtains respective form information of the user 1610 andthe obstacle 1620 or 1630, and calculates a range of motion. Asdescribed above, the device 100 may obtain respective form informationof the user 1610 and the obstacle 1620 or 1630 by using the camera 320.

FIG. 16B shows each form of the user 1610 and the obstacle 1620 or 1630output to a screen 1640 of the device 100. The device 100 may display arange of motion 1650 of the user 1610, from among the user 1610 and theobstacle 1620 or 1630, together with an object representing the user1610 an object representing the obstacle 1620 or 1630.

FIG. 17 illustrates a flowchart illustrating an example of obtainingform information of a subject and determining a range of motion of thesubject, the obtaining and the determining being performed by a device,according to an embodiment of the present disclosure.

Referring to FIG. 17, operations are processed in time series by thedevice 100 or the apparatus 101 for executing content as shown in FIG.29 or 31. Accordingly, it will be understood that the descriptionsprovided with reference to FIGS. 1 through 16 may also be applied to theoperations described with reference to FIG. 17, even if the descriptionsare not provided here again.

Additionally, operation 1710 described with reference to FIG. 17 issubstantially identical to operation 210 described with reference toFIG. 1. Accordingly, a detailed description with regard to operation1710 is not provided here.

In operation 1720, the device 100 predicts a moving path of a firstsubject and a moving path of a second subject.

The first subject and the second subject may be users of content, andthe content may be a game that requires a motion and moving of a user.For example, if it is assumed that the content is a dancing game or afight game, there may be cases when the user may have to move at a sameplace or to another place according to an instruction made by details ofthe content.

The device 100 analyzes the details of content, and predicts the movingpath of the first object and the moving path of the second object basedon the analyzed details of the content. For example, the device 100 mayanalyze the details of the content by reading the details of the contentstored in a storage unit (e.g., storage unit 2940). Accordingly, thedevice 100 may prevent a collision between the subjects regardless of atype of content used by the user.

If the first subject is a user of the content, and the second subject isa non-user of the content, the device 100 predicts only a moving path ofthe user. In other words, the device 100 does not predict a moving pathof the non-user. The first subject may be set as a user, and the secondsubject may be set as a non-user in advance before the content isexecuted. Accordingly, the device 100 may determine which subject is auser, from among the first and second subjects.

In operation 1730, the device 100 determines a first area based on forminformation and the moving path of the first subject. In other words,the device 100 determines a range of motion of the first subject, basedon form information and the moving path of the first subject.

In operation 1740, the device 100 determines a second area based onsecond information and a moving path of the second object. In otherwords, the device 100 determines a range of motion of the secondsubject, based on form information and the moving path of the secondsubject. If the second subject is a non-user of the content, the device100 may determine a range of motion of the second subject by using onlythe form information of the second subject.

Hereinafter, with reference to FIG. 18, an example of determining arange of motion of a subject based on form information and a moving pathof the subject, which is performed by a device, is described.

FIG. 18 illustrates a diagram for explaining an example of determining arange of motion of a subject based on form information and a moving pathof the subject, the determining being performed by a device, accordingto an embodiment of the present disclosure.

Referring to FIG. 18, a first user 1810 moving from a left to rightdirection and a second user 1820 moving from a right to left directionare shown.

The device 100 may determine a range of motion 1831 of the first user1810 in an initial location of the first user 1810, based on forminformation of the first user 1810. In other words, the device 100 maydetermine the range of motion 1831 of the first user 1810 when the first1810 remains still in the initial location.

There may be cases when a user may have to move in a particulardirection according to details of content executed by the device 100.There may also be cases when a user may have to take a particular motionwhile the user is moving, according to the details of the content. If itis assumed that the first user 1810 has to take a particular motionwhile moving from left to right, the device 100 determines ranges ofmotions 1832 and 1833 in each location of the first user 1810 which isincluded in a path in which the first user 1810 moves.

The device 100 may determine a final range of motion 1830 of the firstuser 1810, by combining all the determined ranges of motion 1831 through1833.

The device 100 may determine a range of motion of the second user 1820by using a same method as the method of determining a range of motion ofthe first user 1810. In other words, the device 100 determines a rangeof motion 1841 in an initial location of the second user 1820, anddetermines ranges of motion 1842 through 1844 in each location of thesecond user 1820 which is included in the moving path of the second user1820. Additionally, the device 100 may determine a final range of motion1840 of the second user 1820, by combining the determined ranges ofmotion 1841 through 1844.

The device 100 may determine the ranges of motion 1831 through 1833 andthe ranges of motion 1841 through 1844, in consideration of motions thatare to be taken by the users 1810 and 1820 while the users 1810 and 1820are moving. For example, the device 100 may calculate a range of motionby using a mapping table stored in a storage unit (e.g., storage unit2940). The mapping table includes information about a range of motionthat is necessary in addition to a range of motion determined by usingform information of the users 1810 and 1820, according to a type ofmotion required by content. For example, if a motion required by thecontent is a motion in which a user stretches an arm while taking a stepwith one foot, the mapping table may include information indicating thata range of motion amounting to 1.7 times the range of motion, which isdetermined by using the form information of the users 1810 and 1820, isadditionally required.

In FIG. 18, an example in which the users 1810 and 1820 move in atwo-dimensional (2D) space is described, but a space in which an usermoved is not limited thereto. In other words, there may be a case whenthe users 1810 and 1820 may have to move in a 3D space according todetails of content. Accordingly, even when the users 1810 and 1820 areto move in a 3D space, the device 100 may determine a range of motion ofeach of the users 1810 and 1820 according to the method described withreference to FIG. 18.

Referring back to FIG. 2, in operation 240, the device 100 predictswhether the first subject and the second subject are to collide witheach other, based on whether the first range and the second rangeoverlap with each other. In other words, the device 100 predicts whetherthe first and second subjects are to collide with each other, based onwhether a range of motion of the first subject overlaps with a range ofmotion of the second subject. The predicting of whether the first andsecond subjects are to collide with other refers to predicting of apossibility of a collision between the first and second subjects whenthe first and second subjects do not collide with each other. Forexample, if a difference between a range of motion of the first subjectand a range of motion of the second subject has a value less than acertain value, the device 100 may determine that the first subject andthe second subject are to collide with each other.

Hereinafter, with reference to FIG. 19, an example of predicting whethera first subject is to collide with a second subject, which is performedby a device, is described.

FIG. 19 illustrates a flowchart for explaining an example of predictingwhether a first subject and a second subject are to collide with eachother, the predicting being performed by a device 100, according to anembodiment of the present disclosure.

Referring to FIG. 19, operations are processed in time series by thedevice 100 or the apparatus 101 for executing content as shown in FIG.29 or 31. Accordingly, it will be understood that the descriptionprovided with reference to FIG. 1 may also be applied to the operationsdescribed with reference to FIG. 19, even if the descriptions are notprovided here again.

In operation 1910, the device 100 calculates a shortest distance betweenthe first subject and the second subject. The shortest distance iscalculated in consideration of a range of motion of the first subjectand a range of motion of the second subject. In more detail, the device1000 selects a first point that is nearest the second subject, fromamong points included in the range of motion of the first subject.Additionally, the device 100 selects a second point that is nearest thefirst subject, from among points included in the range of motion of thesecond subject. Additionally, the device 100 calculates a distancebetween the first point and the second point, and determines thecalculated distance as the shortest distance between the first subjectand the second subject.

In operation 1920, the device 100 determines whether the shortestdistance is greater than a predetermined distance value. The certaindistance value may be a value pre-stored in a storage unit (e.g.,storage unit 2940) or a value input by a user.

Hereinafter, with reference to FIGS. 20A through 20C, an example ofcomparing a shortest distance to a predetermined distance value, whichis performed by a device, is described.

FIGS. 20A through 20C illustrate diagrams for explaining an example ofcomparing a shortest distance between subjects to a predetermineddistance value, the comparing being performed by a device, according toan embodiment of the present disclosure.

Referring to FIG. 20A, an example in which a range of motion 2010 of afirst user and a range of motion 2020 of a second user overlap with eachother is illustrated. In other words, the range of motion 2010 of thefirst user includes the range of motion 2020 of the second user.

In this case, a shortest distance between the first user and the seconduser, which is calculated by the device 100, has a value of 0. In otherwords, the case when the shortest distance has a value of 0 includes acase when the range of motion 2010 of the first user overlaps with therange of motion 2020 of the second user, as well as a case when therange of motion 2010 of the first user contacts the range of motion 2020of the second user at one point.

Accordingly, if the shortest distance between the first user and thesecond user has a value of 0, the device 100 determines that a value ofthe shortest distance is less than the predetermined distance value.

Referring to FIG. 20B, a diagram showing a case when a shortest distancebetween users has a value of m is illustrated. Here, a predetermineddistance value k is assumed as a value greater than m.

A range of motion 2030 of a first user and a range of motion 2040 of asecond user do not overlap with each other, nor contact each other atone point. The device 100 selects a first point that is nearest thesecond user, from among points included in the range of motion 2030 ofthe first user, and a second point that is nearest the first user, fromamong points included in the range of motion 2040 of the second user.Then, the device 100 determines a distance from the first point to thesecond point as a shortest distance m between the first user and thesecond user.

Since the shortest distance m is less than the predetermined distancevalue k, the device 100 performs operation 1930 shown in FIG. 19.

Referring to FIG. 20C, a diagram showing a case when a shortest distancebetween users has a value of n is illustrated. Here, a predetermineddistance value k is assumed to be a value less than n.

A range of motion 2050 of a first user and a range of motion 2060 of asecond user do not overlap with each other, nor contact each other atone point. The device 100 selects a first point that is nearest thesecond user, from among points included in the range of motion 2050 ofthe first user, and a second point that is nearest the first user, fromamong points included in the range of motion 2060 of the second user.Then, the device 100 determines a distance from the first point to thesecond point as a shortest distance n between the first user and thesecond user.

Since the shortest distance n is greater than the predetermined distancevalue k, the device 100 performs operation 1940 shown in FIG. 19.

Referring back to FIG. 19, if the shortest distance is greater than thepredetermined distance value k, the device 100 determines that the firstsubject and the second subject are not to collide with each other inoperation 1940. Here, a situation in which the first subject and thesecond subject are not to collide with each other includes a situationin which there is no possibility that the first subject and the secondsubject may collide with each other if the first subject or the secondsubject takes a different motion from a current motion. Additionally, ifthe shortest distance is less than the predetermined distance value k,the device 100 determines that the first subject and the second subjectare to collide with each other in operation 1930. In this case, asituation in which the first subject and the second subject are tocollide with each other includes a situation in which there is such apossibility that the first subject and the second subject may collidewith each other even if the first subject or the second subject takes amotion different from a current motion.

FIGS. 21A through 21C illustrate diagrams showing an example of an imageoutput to a screen of a device, if the device determines that subjectsare to collide with each other according to an embodiment of the presentdisclosure.

FIGS. 21A and 21B show an example of outputting dynamic objects (forexample, images representing users) to a screen 2110. FIG. 21C shows anexample of outputting a dynamic object (for example, an imagerepresenting a user) and static objects (for example, an imagesrepresenting furniture) to a screen.

Referring to FIGS. 21A through 21C, if it is predicted that subjects areto collide with each other, the device 100 may output warninginformation indicating that the subjects are to collide with each other.The warning information may be light, a color, or a certain image outputfrom a screen of the device 100, or sound output from a speaker includedin the device 100. Additionally, if the device 100 is executing content,the device 100 may pause the executing of the content as an example ofthe warning information.

For example, the device 100 may output images 2120 and 2130 indicatingthe warning information to the screen 2110. As an example, referring toFIG. 21A, the device 100 may request a user to move to a place that isfar away from another user, by outputting the image 2120 indicating ahigh possibility of a collision between users. Even though a range ofmotion 2140 of a first user and a range of motion 2150 of a second userdo not overlap with each other, if a shortest distance between the rangeof motion 2140 and the range of motion 2150 has a value less than apredetermined distance value k, the device 100 may output the image 2120indicating the high possibility of the collision between the first andsecond users.

As another example, referring to FIG. 21B, the device 100 may pauseexecution of content that is currently executed, while outputting theimage 2130 indicating a very high possibility of a collision betweenusers at a same time. If the range of motion 2140 of the first user andthe range of motion 2150 of the second user overlap with each other, thedevice 100 may pause execution of the content that is currentlyexecuted, while outputting the image 2130 at a same time.

Referring to FIG. 21C, if a chair 2180 is located in a range of motion2170 of a user, the device 100 may output an image 2160 requesting tomove the chair 2180 out of the range of motion 2170 of the user.

After the executing of the content is paused, if ranges of motion ofsubjects become far away from each other so that a value of a distancetherebetween is greater than a predetermined value, the device 100re-executes the content. Hereinafter, with reference to FIG. 21D, anexample of resuming execution of content after execution of the contentis paused, the resuming being performed by a device, is described.

FIG. 21D illustrates a diagram showing an example of resuming executionof content after execution of the content is paused, the resuming beingperformed by a device, according to an embodiment of the presentdisclosure.

Referring to FIG. 21D, when content is executed, if it is predicted thata first user 2191 and a second user 2192 are to collide with each other,the device 100 may pause the execution of the content, and output animage 2195 indicating that the first user 2191 and the second user 2192are to collide with each other. Even when the execution of the contentis paused, the camera 320 continuously photographs the first user 2191and the second user 2192. Accordingly, the device 100 may check whethera distance between the first user 2191 and the second user 2192 isincreased or decreased after the execution of the content is paused.

After the execution of the content is paused, if the first user 2191and/or the second user 2191 moves from a current position, a distancetherebetween may be increased. In other words, the first user 2191 maymove in such a direction that the first user 2191 becomes far away fromthe second user 2192 or the second user 2192 may move in such adirection that the second user 2192 becomes far away from the first user2191. As at least one from the group consisting of the first and secondusers 2191 and 2192 moves, if a value of a distance between a range ofmotion 2193 of the first user 2191 and a range of motion 2194 of thesecond 2192 becomes greater than a predetermined value, the device 100may resume the execution of the content. In other words, as at least oneof the first and second users 2191 and 2192 moves, if it is determinedthat there is no such possibility that the users 2191 and 2192 are tocollide with each other, the device 100 may resume the execution of thecontent. In this case, the device 100 may output an image 2196indicating that the execution of the content is resumed to the screen.

As described above, the device 100 may determine a range of motion basedon form information of respective subjects, and predict whether thesubjects are to collide with each other. Accordingly, the device 100 mayprevent a collision between the subjects in advance.

FIG. 22 illustrates a diagram for explaining an example of comparing ashortest distance between subjects to a predetermined distance value,the comparing being performed by a device 100, according to anembodiment of the present disclosure.

Referring to FIG. 22, it is shown that both a first subject 2210 and asecond subject 2220 are users of content. However, the first subject2210 and the second subject 2220 are not limited thereto. In otherwords, the second subject 2220 may be a non-user of the content, or maycorrespond to a thing such as an animal, a plant, or furniture.

As described above with reference to FIG. 18, the device 100 maydetermine ranges of motion 2230 and 2240 of the users 2210 and 2220,based on at least one of a moving path of the first user 2210 and thesecond user 2220 and a motion that is to be taken by the first user 2210and the second user 2220. The device 100 calculates a shortest distancek between the first object 2210 and a second object 2220 based on theranges of motion 2230 and 2240 of the users 2210 and 2220, and predictsa possibility of a collision between the first user 2210 and a seconduser 2220 based on the shortest distance k. A method of predicting apossibility of a collision between users, which is performed by thedevice 100, is described above with reference to FIGS. 19 through 20C.

FIGS. 23A through 23C illustrate diagrams showing an example of an imageoutput to a screen of a device, if the device determines that users areto collide with each other, according to an embodiment of the presentdisclosure.

Referring to FIGS. 23A through 23C, if it is predicted that the usersare to collide with each other, the device 100 may output an image 2320indicating that the objects are to collide with each other to a screen2310. As an example, as shown in FIG. 23A, the device 100 may output theimage 2330 notifying to the users a possibility of a collisiontherebetween to the screen 2310. As another example, as shown in FIG.23B, the device 100 may pause execution of content, while outputting theimage 2330 notifying to the users a possibility of a collisiontherebetween to the screen 2310 at the same time. After the images 2320and 2330 are output to the screen 2310, if the users readjust theirlocation, the device 100 re-predicts a possibility of a collisionbetween the users based on the readjusted location. As shown in FIG.23C, if it is determined that a collision between the users isimpossible, the device 100 may continuously execute the content insteadof outputting the images 2320 and 2330 to the screen 2310.

As described with reference to FIGS. 2 through 23C, the device 100 maypredict a possibility of a collision between subjects based on a rangeof motion of the subjects. The device 100 may set a safety zone or adanger zone in a space. Then, if the subject goes out of the safety zoneor if the subject enters the danger zone, the device 100 may outputwarning information.

Hereinafter, with reference to FIG. 24, an example of setting a dangerzone or a safety zone, which is performed by a device, is described.Additionally, with reference to FIG. 25, an example of outputtingwarning information if a subject goes out of a safety zone or a subjectenters a danger zone, the outputting being performed by a device, isdescribed.

FIG. 24 illustrates a diagram for explaining an example of setting asafety area or a danger zone, the setting being performed by a device,according to an embodiment of the present disclosure.

Referring to FIG. 24, an example of outputting an image showing a spaceto a screen 2410, which is performed by the device 100, is shown. Aspace described herein refers to a space photographed by the camera 320.The device 100 may output an image indicating a space to the screen 2410by using data transmitted from the camera 320. Additionally, the device100 may classify and set the space as a safety zone 2420 or a dangerzone 2430.

As an example, the device 100 may set the safety zone 2420 and thedanger zone 2430 based on information input by a user. The user mayinput information for classifying the space into as safety zone 2420 orthe danger zone 2430 to an image output to the screen 2410. For example,the user may select a certain area in the image, and designate theselected area as the safety zone 2420 or the danger zone 2430. If theuser designates the selected area as the safety zone 2420, a remainingarea other than the safety zone 2420, from among the space in the image,is determined as the danger zone 2430.

As another example, the device 100 may automatically designate a spaceas the safety zone 2420 or the danger zone 2430 without intervention ofa user. For example, the device 100 may designate an empty space where athing is not present in the image as the safety zone 2420, and a spacein which a thing is present in the image as the danger zone 2430.

After the device 100 designates the space as the safety zone 2420 or thedanger zone 2430, if a subject goes out of the safety zone 2420 orenters the danger zone 2430, the device 100 may output warninginformation. Hereinafter, with reference to FIG. 25, an example ofoutputting warning information, which is performed by the device 100, isdescribed.

FIG. 25 illustrates a diagram for explaining an example of outputtingwarning information if a subject goes out of a safety area or a subjectenters a danger zone, the outputting being performed by a device,according to an embodiment of the present disclosure.

Referring to FIG. 25, an example is illustrated in which a safety zone2520 and a danger zone 2530 are set in an image output to a screen 2510of the device 100. FIG. 25 shows an example in which a boundary 2540between the safety zone 2520 and the danger zone 2530 is displayed onthe screen 2510. However, the boundary 2540 may not be displayed.

If a subject represented by an object 2550 goes out of the safety zone2520 (or enters the danger zone 2530), the device 100 may output warninginformation. For example, if it is assumed that the subject is a userplaying a dancing game, if a part of a body of the user goes out of thesafety zone 2520 while playing the dancing game (that is, if the object2550 is output to the screen 2510 as being out of the safety zone 2520),the device 100 may output warning information. The warning informationmay be light, a color, a certain image, etc., output from the screen2510 of the device 100, or a sound output from a speaker included in thedevice 100. Additionally, if the device 100 is executing content, thedevice 100 may pause the executing of the content as an example of thewarning information.

For example, if the user goes out of the safety zone 2520, the device100 may display an image 2560 instructing the object 2550 to move to thesafety zone 2520, or may pause the executing of the content.

The device 100 may designate some things that are present in a space asdangerous things, and, if the subject is in close proximity to thedangerous things, output warning information.

Hereinafter, with reference to FIG. 26, an example of designating adangerous thing, which is performed by a device, is described.Additionally, referring to FIG. 27, an example of outputting warninginformation if a subject enters a dangerous thing, which is performed bya device, is described.

FIG. 26 illustrates a diagram for explaining an example of designating adangerous thing, the designating being performed by a device, accordingto an embodiment of the present disclosure.

Referring to FIG. 26, an example of outputting an image showing a spaceto a screen 2610, which is performed by the device 100, is shown. Thespace refers to a space photographed by the camera 320. The device 100may output an image showing a space to the screen 2610 by using datatransmitted from the camera 320. Additionally, the device 100 maydesignate some things that are present in the space as a group ofdangerous things 2620.

As an example, the device 100 may designate the group of dangerousthings 2620 based on information input by a user. The user may inputinformation for designating the group of dangerous things 2620 to animage output to the screen 2410. For example, the user may select acertain thing from the image, and designate the selected thing as thegroup of dangerous things 2620.

As another example, the device 100 may automatically designate the groupof dangerous things 2620 without intervention of a user. For example,the device 100 may designate all things present in the space shown inthe image as the group of dangerous things 2620. Alternatively, thedevice 100 may designate a thing having characteristics that matchpredetermined criteria, as the group of dangerous things 2620. Forexample, the device 100 may designate all objects having a sharp surfaceor a pointed corner as the group of dangerous things 2620.

After the device 100 designates the group of dangerous things 2620, if asubject enters the group of dangerous things 2620, the device 100 mayoutput warning information. Hereinafter, with reference to FIG. 27, anexample of outputting warning information, which is performed by adevice, is described.

FIG. 27 is a diagram for explaining an example of outputting warninginformation if a subject goes close to a dangerous thing, which isperformed by a device, according to an embodiment of the presentdisclosure.

Referring to FIG. 27, an example of designating a dangerous thing 2720in an image output to a screen 2710 of the device 100 is illustrated. Ifan object 2730 is output to the screen 2710 as being in close proximityto the dangerous thing 2720 (actually, if a subject represented by theobject 2730 is in close proximity to the dangerous thing 2720), thedevice 100 may output warning information 2740. For example, if a babyis in close proximity to the dangerous thing 2720, the device 100 mayoutput warning information 2740. An example of the warning informationis described above with reference to FIG. 25.

As described above with reference to FIGS. 2 through 27, the device 100may autonomously output warning information. However, the outputting ofthe warning information is not limited thereto. In other words, if thewarning information is to be output, the device 100 may transmit awarning information signal to another device.

FIG. 28 illustrates a diagram for explaining an example of transmittingwarning information to another device, the transmitting being performedby a device, according to an embodiment of the present disclosure.

Referring to FIG. 28, the device 100 may autonomously output warninginformation or transmit warning information to another device 2800. Forexample, if an object 2810 representing a baby is output to a screen ofthe device 100 as being in close proximity to the a dangerous thing2820, the device 100 may autonomously output a warning image 2830 and,at a same time, transmit warning information to the other device 2800connected to the device 100. Then, the other device 2800 may output awarning image 2840. Here, the device 100 and the other device 2800 maybe connected to each other by using a wired or wireless communicationmethod.

FIG. 28 shows warning images 2830 and 2840 as an example of the warninginformation, but an example of the warning information is not limitedthereto. The device 100 and the other device 2800 may output warninginformation described as an example with reference to FIG. 25.

FIG. 29 is a block diagram of an example of a device according to anembodiment of the present disclosure.

Referring to FIG. 29, the device 100 includes an input unit 2910, acontrol unit 2920, and an output unit 2930.

The device 100 shown in FIG. 29 includes constituent elements forperforming the method of preventing a collision between a plurality ofsubjects, described above, with reference to FIGS. 1 through 28.Accordingly, it will be understood that the descriptions provided withreference to FIGS. 1 through 28 may also be applied to the device 100shown in FIG. 29, even if the descriptions are not provided here again.

The device 100 shown in FIG. 29 includes only elements described withreference to the current embodiment. Accordingly, it may be understoodby one of ordinary skill in the art that, in addition to the elementsshown in FIG. 29, other general-use elements may be further included.

The input unit 2910 receives an image, captured by the camera 320, fromthe camera 320. For example, the input unit 2910 may include a wiredcommunication interface or a wireless communication interface. The inputunit 2910 may receive an image from the camera 320 via at least one ofthe wired communication interface and the wireless communicationinterface.

The wired communication interface may include a high-definitionmultimedia interface (HDMI), a digital visual interface (DVO), or thelike, but is not limited thereto.

The wireless communication interface may include a Bluetoothcommunication unit, a Bluetooth low energy (BLE) communication unit, ashort-range communication interface, a Wi-Fi communication unit, aZigbee communication unit, an infrared Data Association (IrDA)communication unit, a Wi-Fi Direct (WFD) communication unit, a ultrawideband (UWB) communication unit, or an Ant+ communication unit, but isnot limited thereto.

The wireless communication interface may transceive a wireless signal toand from at least one of a base station, an external terminal (forexample, the camera 103), and a server on a mobile communicationnetwork. The wireless signals may include a voice call signal, a videophone call signal or various forms of data used to transceive text ormultimedia messages.

The input unit 2910 includes a unit for inputting data so that the usermay control the device 100. For example, the input unit 2910 may includea key pad, a dome switch, a touch pad, which may be a capacitive overlaytype, a resistive overlay type, an infrared beam type, a surfaceacoustic wave type, an integral strain gauge type, or a piezo electrictype, a jog wheel, or a jog switch, but is not limited thereto.

The control unit 2920 obtains form information of a first subject andform information of a second subject. As an example, if it is assumedthat content is executed, the first subject may refer to a user of thecontent. The second subject may refer to another user who uses thecontent together with the first object, or may refer to a non-user thatdoes not use the content. The second subject may be an animal, a plant,or a thing such as furniture. The content described herein refers to aprogram which requires a motion of a user. For example, a computer gameexecuted based on a motion of a user, such as a dancing game or a sportgame, may correspond to the content.

Form information refers to information indicating a form of a subject. Aform includes a length and a volume of the subject as well as a shape ofthe subject. As an example, if it is assumed that an object is a person,form information includes all information indicating an outer shape ofthe person such as a height, a length of arms, a length of legs, athickness of a trunk, a thickness of arms, a thickness of legs of theperson, and the like. If it is assumed that a subject is a chair, forminformation includes all information indicating an outer shape of thechair such as a height, a width of the chair, and the like.

The control unit 2920 determines a range of motion of the first subjectby using form information of the first subject, and a range of motion ofthe second subject by using form information of the second subject. Arange of motion refers to a range which includes points reachable by atleast a part of a subject. As an example, a range of motion of a subjectmay be a range which includes points that a part of the subject mayreach while the subject remains in a designated area. As anotherexample, a range of motion of a subject may be a range which includespoints that a part of the subject may reach while the subject is movingalong a certain path. As another example, a range of motion of a subjectmay be a range which includes points that a part of the subject mayreach as the subject moves in a certain area.

If the content requires moving of a user, the control unit 2920 maydetermine a range of motion of the user based on a moving path of theuser. Additionally, the control unit 2920 may determine a range ofmotion of the subject based on input information of a user.

The control unit 2920 predicts whether the first subject and the secondsubject are to collide with each other, based on whether a range ofmotion of the first subject and a range of motion of the second subjectoverlap with each other. The predicting of whether the first subject andthe second subject are to collide with each other refers to predictingof a possibility of a collision between the first and second subjectswhen the first and second subjects do not collide with each other. Forexample, if a difference between the range of motion of the first userand the range of motion of the second user has a value less than acertain value, the control unit 2920 may determine that the first userand the second user collide with each other.

The output unit 2930 outputs an image to a screen of the device 100 oroutputs warning information via a speaker included in the device 100.For example, the output unit 2930 may output an object representing asubject to a screen, and output a warning signal via the screen or aspeaker.

Additionally, all or a part of the input unit 2910, the control unit2920, and the output unit 2930 may be operated by using a softwaremodule, but the operating of the input unit 2910, the control unit 2920,and the output unit 2930 is not limited thereto.

Additionally, the input unit 2910, the control unit 2920, and the outputunit 2930 may be operated by one or more processors, but the operatingof the input unit 2910, the control unit 2920, and the output unit 2930is not limited thereto.

FIG. 30 is a block diagram of an example of a device according to anembodiment of the present disclosure.

The device 100 shown in FIG. 30 includes constituent elements forperforming a method of preventing a collision between a plurality ofsubjects, described above, with reference to FIGS. 1 through 28.Accordingly, it will be understood that the descriptions provided withreference to FIGS. 1 through 28 may also be applied to the device 100shown in FIG. 30, even if the descriptions are not provided here again.

The device 100 shown in FIG. 30 includes only elements described withreference to the current embodiment. Accordingly, it may be understoodby one of ordinary skill in the art that, in addition to the elementsshown in FIG. 30, other general-use elements may be further included.

Referring to FIG. 30, the control unit 2920 reads and analyzes detailsthat are included in content stored in a storage unit 2940. For example,if it is assumed that a subject includes a user of the content and thecontent is being executed, the control unit 2920 obtains informationabout a moving path of the subject by analyzing the details included inthe content. Additionally, the control unit 2920 determines a range ofmotion of the subject by using the obtained information. Another examplein which the control unit 2920 is operated is described above withreference to FIG. 29.

The control unit 2920 generates warning information. In more detail, ifit is determined that subjects are to collide with each other, thecontrol unit 2920 generates warning information. The warning informationmay be light, a color, a certain image, etc., output from a screen ofthe device 100, or a sound output from a speaker included in the device100. Additionally, if the device is executing content, the device 100may pause the executing of the content as an example of the warninginformation.

The storage unit 2940 stores data regarding form information and a rangeof motion of a subject. Additionally, the storage unit 2940 stores amapping table that is necessary for determining a range of motion of thesubject. The storage unit 2940 stores details of content executed by thedevice 100.

FIG. 31 is a block diagram of an example of a system for executingcontent according to an embodiment of the present disclosure.

Referring to FIG. 31, the system 1 includes the apparatus 101 forexecuting content, the display apparatus 102, and the camera 103. If itis assumed that the content is a computer game, the apparatus 101 forexecuting content refers to a game console.

The apparatus 101 for executing content, the display apparatus 102, andthe camera 103 may be connected to each other via a cable, andtransceive data between each other via the cable (that is, by using awired communication method). Alternatively, the apparatus 101 forexecuting content, the display apparatus 102, and the camera 103 maytransceive data between each other by using a wireless communicationmethod. Hereinafter, an input unit 3110 and an output unit 3130 includedin the apparatus 101 for executing content are described. However,elements corresponding to the input unit 3110 and the output unit 3130may be included respectively in the camera 103 and the display apparatus102.

The camera 103 captures an image of a subject (that is, an object), andtransmits the captured image to the apparatus 101 for executing thecontent. An example in which the camera 103 is operated is describedabove with reference to FIGS. 1 through 28.

Operations of an input unit 3110, a control unit 3120, and a storageunit 3140 included in the apparatus 101 for executing content aredescribed with reference to FIGS. 29 through 30. Thus, a detaileddescription thereof is not provided here.

The output unit 3130 transmits an image showing a form of an object orwarning information to the display apparatus 102. For example, theoutput unit 3130 may include a wired communication interface or awireless communication interface. The output unit 3130 may transmit theimage or the warning information to the display apparatus 102 via atleast one of the interfaces described above.

The wired communication interface may include a HDMI, a digital visualinterface, or the like, but is not limited thereto.

The wireless communication interface may include a Bluetoothcommunication interface, a Bluetooth low energy (BLE) communicationinterface, a near-field communication (NFC) interface, a Wi-Ficommunication interface, a Zigbee communication interface, an infraredData Association (IrDA) communication interface, a Wi-Fi Direct (WFD)communication interface, a ultra wideband (UWB) communication interface,or an Ant+ communication interface, but is not limited thereto.

Additionally, the wireless communication interface may transceive awireless signal with at least one of a base station, an externalterminal, for example, the display apparatus 102, and a server on amobile communication network. The wireless signal may include a voicesignal, a video phone call signal or various forms of data used totransceive text or multimedia messages.

The display apparatus 102 outputs the image or the warning informationreceived from the apparatus 101 for executing content.

As described above, according to the one or more of the aboveembodiments, the device 100 or the apparatus 101 for executing contentmay determine a range of motion that includes points reachable bysubjects, based on form information of each subject, and predict whetherthe subjects are to collide with each other. Accordingly, the device 100or the apparatus 101 for executing content may prevent a collision ofthe subjects in advance. Additionally, the device 100 or the apparatus101 for executing the content may generate warning information or pauseexecution of the content if the collision of the subjects is predicted.

In addition, other embodiments can also be implemented throughcomputer-readable code/instructions in/on a medium, e.g., acomputer-readable medium, to control at least one processing element toimplement any above-described embodiment. The medium can correspond toany medium/media permitting the storage and/or transmission of thecomputer-readable code.

The computer-readable code can be recorded/transferred on a medium in avariety of ways, with examples of the medium including recording media,such as magnetic storage media (e.g., ROM, floppy disks, hard disks,etc.) and optical recording media (e.g., CD-ROMs, or DVDs), andtransmission media such as Internet transmission media. Thus, the mediummay be such a defined and measurable structure including or carrying asignal or information, such as a device carrying a bitstream accordingto one or more embodiments. The media may also be a distributed network,so that the computer-readable code is stored/transferred and executed ina distributed fashion. Furthermore, the processing element could includea processor or a computer processor, and processing elements may bedistributed and/or included in a single device

It should be understood that the embodiments described therein should beconsidered in a descriptive sense only and not for purposes oflimitation. Descriptions of features or aspects within each embodimentshould typically be considered as available for other similar featuresor aspects in other embodiments.

While the present disclosure has been shown and described with referenceto various embodiments thereof, it will be understood by those skilledin the art that various changes in form and details may be made thereinwithout departing from the spirit and scope of the present disclosure asdefined by the appended claims and their equivalents.

What is claimed is:
 1. An electronic device comprising: a display; and at least one processor configured to: in response to receiving a request for executing an application, determine a range of motion of a user by predicting a movement of the user based on content of the application, determine a location of at least one object which is present in an area near the user, based on the range of motion of the user and the location of the at least one object, predict a possibility of a collision between the user and the at least one object, and based on the predicted possibility of the collision, control the display to output warning information notifying the possibility of the collision.
 2. The electronic device of claim 1, wherein the at least one processor is further configured to, based on content of the application, determine a size of the range of motion of the user.
 3. The electronic device of claim 1, wherein the at least one processor is further configured to, based on the location of the at least one object and the range of motion of the user overlapping with each other, predict the possibility of the collision between the user and the at least one object.
 4. The electronic device of claim 1, wherein the at least one processor is further configured to determine the range of motion of the user, which includes a farthest point reachable by a part of the user as the user moves in a certain area.
 5. The electronic device of claim 1, further comprising a camera, wherein the at least one processor is further configured to: obtain form information of the user by using the camera, and calculate the range of motion of the user.
 6. The electronic device of claim 1, further comprising a camera, wherein the at least one processor is further configured to: obtain form information of the user and form information of the at least one object by using the camera, and based on the form information of the user and the form information of the at least one object, predict the possibility of the collision between the user and the at least one object.
 7. The electronic device of claim 1, further comprising a camera, wherein the at least one processor is further configured to control the display to display an image generated based on a shape of the user and another image generated based on at least one shape of the at least one object, by using the camera.
 8. The electronic device of claim 1, wherein the warning information comprises a message for requesting to move the at least one object out of the range of motion of the user.
 9. A method for executing an application, the method comprising: in response to receiving a request for executing the application, determining a range of motion of a user by predicting a movement of the user based on content of the application; determining a location of at least one object which is present in an area near the user; based on the range of motion of the user and the location of the at least one object, predicting a possibility of a collision between the user and the at least one object; and based on the predicted possibility of the collision, controlling a display to output warning information notifying the possibility of the collision.
 10. The method of claim 9, wherein the determining the range of motion of the user comprises, based on content of the application, determining a size of the range of motion of the user.
 11. The method of claim 9, wherein the predicting the possibility of the collision comprises, based on the location of the at least one object and the range of motion of the user overlapping with each other, predicting the possibility of the collision between the user and the at least one object.
 12. The method of claim 9, wherein the determining the range of motion of the user comprises determining the range of motion of the user, which includes a farthest point reachable by a part of the user as the user moves in a certain area.
 13. The method of claim 9, further comprising: obtaining form information of the user by using a camera; and calculating the range of motion of the user.
 14. The method of claim 9, further comprising: obtaining form information of the user and form information of the at least one object by using a camera; and based on the form information of the user and the form information of the at least one object, predicting the possibility of the collision between the user and the at least one object.
 15. The method of claim 9, further comprising controlling the display to display an image generated based on a shape of the user and another image generated based on at least one shape of the at least one object, by using a camera.
 16. The method of claim 9, wherein the warning information comprises a message for requesting to move the at least one object out of the range of motion of the user.
 17. A non-transitory computer readable storage medium storing a computer program for executing an application, wherein the computer program comprises instructions to perform: in response to receiving a request for executing the application, determining a range of motion of a user by predicting a movement of the user based on content of the application; determining a location of at least one object which is present in an area near the user; based on the range of motion of the user and the location of the at least one object, predicting a possibility of a collision between the user and the at least one object; and based on the predicted possibility of the collision, controlling a display to output warning information notifying the possibility of the collision. 